package com.fengchao.dao;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.Map;
import java.util.logging.Logger;

/**
 * Created by http://my.oschina.net/wangnian on 2016/7/18.
 */
@Mapper
public interface SvyUserWishRequestResultMapper {

    @Select("insert into svy_user_wish_request_result(wish_artist_id,wish_city_id,wish_count)  VALUES(#{wishArtistId},#{wishCityId},#{wishCount})")
    Integer saveSvyUserWishRequestResultMapper(@Param("wishArtistId") Integer wishArtistId, @Param("wishCityId") Integer wishCityId, @Param("wishCount") Long wishCount);

    @Delete("delete  from svy_user_wish_request_result")
    Integer deleteAll();
}
